#include <stdlib.h> 
#include <stdio.h> 
#include <string.h>

#define KEY_LEN 52
#define VALUE_LEN 100

struct msg
{
	int data_len;
	char name[KEY_LEN];
	char data[VALUE_LEN];
};
void main(){

	char data[100];
	int i=0;
	for(i=0;i<2;i++){
		int a;
		printf("%p\n", &a);
	}
/*	FILE *fp = fopen("/home/kevin/breed-qca953x.bin","rb");
	FILE *fp1 = fopen("/home/kevin/a.bin","ab+");
	memset(data,0,sizeof(data));
	int len=0;
	while(len = fread(data,sizeof(char),100,fp)){
		fwrite(data,sizeof(char),len,fp1);
		printf("%d\n", len);
		memset(data,0,sizeof(data));
	}
	fclose(fp1);
	fclose(fp);*/
	/*data[0]='c';
	memcpy(data+2,"456",3);
	printf("%c\n", data[3]);*/
/*	struct msg ss;
	printf("%p\n",&ss);
	printf("%p\n",&ss.data_len );
	printf("%p\n",ss.name);
	printf("%p\n",ss.data);
	printf("%d\n", sizeof(ss.data_len));
	printf("%d\n", sizeof(ss.name));
	printf("%d\n", sizeof(ss.data));
	printf("%d\n",sizeof(struct msg));*/
/*	ss.data_len=2;
	memset(ss.name,96,sizeof(ss.name));
	memset(ss.data,66,sizeof(ss.data));
	int i=0;
	for(i=0;i<10;i++){
		printf("%c\n", ss.data[i]);
	}*/
	/*int a=256;
	int b=56;
	printf("%d\n",((char*)&a)[0]);
	printf("%d\n",((char*)&a)[1]);
	printf("%d\n",((char*)&a)[2]);
	printf("%d\n",((char*)&b)[5]);

	printf("=%p\n", &a);
	printf("=%p\n", &b);
	printf("%p\n",((char*)&a));
	printf("%p\n",&((char*)&a)[1]);
	printf("%p\n",((char*)&a)+2);
	printf("%p\n",((char*)&a)+3);
*/
	return;
}